home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Jul 89 / W0120-Modal Dialogs and a-Jul89 < prev    next >
Encoding:
Text File  |  1989-08-22  |  1.3 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    2472113                         24-July-89        19:13
  2.  
  3. From:   D2086                           Efficient Field Svc, C Faith, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Modal Dialogs and app4Events!?
  8.  
  9. Once again I find myself confounded by a relatively unusual problem.
  10.  
  11. I have a modal dialog that I put up using posemodally.  It acts in all respects
  12. just like a modal dialog except that it is getting app4Events which causes it
  13. the application to be suspended/ switched out, whenever the mouse is pressed on
  14. a window of another app or the finder.  It was my impression that modal dialogs
  15. are not switched out with the Dialog Manager dialogs.
  16.  
  17. This is really no big deal except that for curiosities sake I looked at
  18. DemoDialogs and it does not switch out and gets mousedown events instead of
  19. app4Events.  I am not completely sure that there is not something that I have
  20. done that is causing the differences but here is what I know:
  21.  
  22. 1) both SIZE resources are identical except for the partition allocations.
  23. They both acceptSuspendAndResumeEvents etc.
  24. 2) I do nothing with the Application until events get to DispatchEvents.  I
  25. make no conscious changes to event records.
  26.  
  27. I am not sure how MacApp avoids getting switched out unless they make patches
  28. that cover this.
  29.  
  30. Anyone have any ideas what is going on?
  31.  
  32. regards,
  33. Curtis Faith
  34.  
  35.  
  36.